package com.example.demo.common.service;


import com.example.demo.RabbitMQTest.entity.QueueMessage;
import com.example.demo.common.exception.BaseException;

/**
 * Created by 75949 on 2019/12/27.
 */
public interface IMessageService {

    /**
     * 发送消息，返回是否发送成功
     *
     * @param message
     * @return
     */
    void send(QueueMessage message) throws BaseException;
}
